Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bistandbytes] improve replacement warnings for bnb #11132

Merged
merged 7 commits into from
Apr 8, 2025

Conversation

sayakpaul
Copy link
Member

No description provided.

@sayakpaul sayakpaul requested a review from DN6 March 21, 2025 11:19
@HuggingFaceDocBuilderDev

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

@ukaprch
Copy link

ukaprch commented Mar 21, 2025

I do have a question. Why can't we use ".to(device=device)" for bitsandbytes load 8 bit = True as we do for load 4 bit = True?

@sayakpaul
Copy link
Member Author

8bit models don't support that placement.

@sayakpaul
Copy link
Member Author

@DN6 a gentle ping

@sayakpaul
Copy link
Member Author

Will merge once the CI is through.

@sayakpaul sayakpaul merged commit 1a04812 into main Apr 8, 2025
14 of 15 checks passed
@sayakpaul sayakpaul deleted the better-bnb-replacement-warnings branch April 8, 2025 15:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants